//
//  TouchGesture.h
//  PortmanTouch
//  the actual gesture object that holds an array of points
//
//  Created by cclaan on 11/4/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//




#import <Foundation/Foundation.h>
#import <OpenGLES/ES1/gl.h>

@interface TouchGesture : NSObject {
	
	
	// points are stored as a single dimension array x,y,x,y
	float * touchPoints;
	
	int pointIndex;
	
	UITouch * touch;
	
	float r;
	float g;
	float b;
	
}

@property (nonatomic,assign) UITouch * touch;

-(void) render;
//-(void) addPointFromTouch:(UITouch*)touch;
-(void) addPoint:(CGPoint)p;

-(GLfloat*) getPoints; 
-(int) numPoints;


@end
